package org.dromara.system.domain.bo;

import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.system.domain.PayOrderLog;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 订单日志业务对象 pay_order_log
 *
 * @author Gavino
 * @date 2024-10-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = PayOrderLog.class, reverseConvertGenerate = false)
public class PayOrderLogBo extends BaseEntity {

    /**
     * 日志ID
     */
    private Long logId;

    /**
     * 父级日志ID
     */
    private Long parentId;

    /**
     * 订单ID
     */
    private Long orderId;

    /**
     * 订单编号
     */
    private String orderNo;

    /**
     * A端订单ID
     */
    private String orderAid;

    /**
     * 操作名称
     */
    private String operate;

    /**
     * 参数
     */
    private String paramsLog;

    /**
     * 返回数据
     */
    private String returnLog;

    /**
     * 耗时
     */
    private Long time;

    /**
     * 排序方式  1正序，2倒序
     */
    private Integer sortType;

    /**
     * 是否只查询父级日志
     */
    private Boolean queryParent = Boolean.FALSE;
}
